package com.teamall.web.fpgz.db.dao.mapper;

import com.teamall.web.fpgz.db.arg.CodeFamilyVistedLogArg;
import com.teamall.web.fpgz.db.po.CodeFamilyVistedLogPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeFamilyVistedLogMapper {
    
    List<Integer> countByArg(CodeFamilyVistedLogArg arg);

    List<CodeFamilyVistedLogPO> selectByArg(CodeFamilyVistedLogArg arg);

    CodeFamilyVistedLogPO selectByPrimaryKey(Integer id);

    List<CodeFamilyVistedLogPO> selectByArgAndPage(CodeFamilyVistedLogArg arg, RowBounds rowBound);

    int insert(CodeFamilyVistedLogPO record);

    int insertSelective(CodeFamilyVistedLogPO record);

    int insertBatch(@Param("list") List<CodeFamilyVistedLogPO> records);

    int updateByArgSelective(@Param("record") CodeFamilyVistedLogPO record,
            @Param("arg") CodeFamilyVistedLogArg arg);

    int updateByArg(@Param("record") CodeFamilyVistedLogPO record,
            @Param("arg") CodeFamilyVistedLogArg arg);

    int updateByPrimaryKeySelective(CodeFamilyVistedLogPO record);

    int updateByPrimaryKey(CodeFamilyVistedLogPO record);
    
    int deleteByArg(CodeFamilyVistedLogArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}